package work.mediway.mdm.core.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author zhongyj <1126834403@qq.com><br/>
 * @date 2021/2/4
 */
@Data
@ApiModel("外键")
public class TableForeignKey {

    @ApiModelProperty(value = "外键名", hidden = true)
    private String fkName;

    @ApiModelProperty(value = "关联主键Schema", hidden = true)
    private String pkTableSchema;

    @ApiModelProperty(value = "关联主键表名")
    private String pkTableName;

    @ApiModelProperty(value = "关联主键列名", hidden = true)
    private String pkColumnName;

    @ApiModelProperty(value = "外键Schema", hidden = true)
    private String fkTableSchema;

    @ApiModelProperty(value = "外键表名", hidden = true)
    private String fkTableName;

    @ApiModelProperty(value = "外键列名")
    private String fkColumnName;
}
